<div class="fadeIn">
    <br>
    <ol class="breadcrumb">
        <li class="active"><span class="glyphicon glyphicon-home" style="color:#23527c"></span>&nbsp;<mainpage></mainpage></li>
        <li class="active">系统管理 / 日志管理</li>
    </ol>
    <form class="form-inline">
      <div class="clearfix marB15">
            <div class="marT15 marR10 left">
                <span class="search-name">时间选择</span>
                <div class="controls" style="margin-left: 0px;">
                    <div class="input-prepend input-group">
                        <span class="add-on input-group-addon"><i class="glyphicon glyphicon-calendar fa fa-calendar"></i></span><input type="text" readonly style="width: 155px" name="reservation" id="sendStatDate" class="form-control" />
                        <span class="input-group-addon" ng-click='clearTime()'>清空</span>
                    </div>
                </div>
            </div>
            <div class="left marT15 marR10">
                <span class="search-name">日志类型</span>
                <select class="form-control1" ng-model="searchData.logType">
                    <option value="">全部</option>
                    <option value="1">登陆</option>
                    <option value="2">修改</option>
                    <option value="3">删除</option>
                    <option value="4">查询</option>
                </select>
            </div>
            <div class="left marT15 marR10">
                <span class="search-name">用户：</span>
                <input type="text" class="form-control1" placeholder="" 
                ng-keyup='search($event)'
                ng-model="searchData.userName">
            </div>
            <button class="btn btn-sm btn-primary left marT15" id="search" ng-click='search()'><span class="glyphicon glyphicon-search"></span></button>
            <br>
           
        </div>
    </form>

<div class="table-box">

    <table class="table table-bordered table-striped text-center bg-info">
        <thead >
        <tr class="info">
            <th class="text-center">序号</th>
            <th class="text-center">时间</th>
            <th class="text-center">用户</th>
            <th class="text-center">日志类型</th>
            <th class="text-center">日志内容</th>
            <th class="text-center">状态</th>


        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="item in result">
            <td>{{$index+1}}</td>
            <td>{{item.logTime}}</td>
            <td>{{item.userName}}</td>
            <td class="w85">
                <p ng-if='"1"==item.logType' >登陆</p>
                <p ng-if='"2"==item.logType' >修改</p>
                <p ng-if='"3"==item.logType' >删除</p>
                <p ng-if='"4"==item.logType' >查询</p>

            </td>
            <td class="w85">{{item.content}}</td>
            <td><p ng-if='"1"==item.result' >成功</p>
                <p ng-if='"0"==item.result' >失败</p></td>

        </tr>

        </tbody>
    </table>
  </div>

  
    <div class="flip">
        <page></page>
    </div>
</div>
<!-- 加载框 -->
  <span class='loaded' ng-show='loaded'><img  src="img/load.gif"></span>
<!-- 加载框 完成-->